home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text1055.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  1.3 KB  |  28 lines

  1.  
  2. > Too much and too spread out. There isn't much repeated accessing in time for
  3. > the cache to still have the data around.
  4. > Almost everything but the texure data is kept in registers all the time.
  5.  
  6. On this subject, I've been experimenting with the 68040 PMMU and it's cache
  7. mode flags (for individual pages).
  8.  
  9. Since 16-bit writes tend to invalidate 'good' cache lines and therefore reduce
  10. cacheing effectiveness, I decided to mark the screen as non-cacheable. The
  11. result was a significant improvement in drawing times. Using this on the desktop
  12. in bitplane modes (which should actually BENEFIT from destination-cacheing) GemBench
  13. indicated a rise from 900% to 950% in mono, and similar improvements in all the
  14. other colour modes. Truecolour modes produced the most significant increases.
  15.  
  16. I haven't looked at the 68030 PMMU flags for a while, but it may also have this
  17. paged cache mode capability.
  18.  
  19. It is a bit low-level for something like Bad Mood, but an auto-folder based PMMU
  20. driver (a bit like my 68040 driver) could possibly speed up standard Falcons under
  21. various conditions of use. Particularly on the Desktop, and especially for Bad Mood.
  22. This does of course depend on the capabilities of the 68030 PMMU and the relatively
  23. small 68030 data cache. Reducing write-invalidations might not produce a notable
  24. change with such an easily trashed cache...
  25.  
  26. Doug.
  27.  
  28.